package dataFromXml;

import org.dom4j.Element;

public class Attribute {

	Element aNode;
	String resultLimitAttr;
	String attrExpression;
	String function;
	
	public Attribute(Element self) {
		aNode = self;
		resultLimitAttr = null;
		attrExpression = null;
		function = null;
	}
	
	public Attribute(String rla, String ae, String f) {
		resultLimitAttr = rla;
		attrExpression = ae;
		function = f;
	}
	
	public void setResultLimitAttr(String rla) {
		resultLimitAttr = rla;
	}
	
	public void setAttrExpression(String ae) {
		attrExpression = ae;
	}
	
	public void setFunction(String f) {
		function = f;
	}
	
	public String getResultLimitAttr() {
		return resultLimitAttr;
	}
	
	public String getAttrExpression() {
		return attrExpression;
	}
	
	public String getFunction() {
		return function;
	}
	
	public Element getElement() {
		return aNode;
	}
}
